package Chapter02.HomeWork;

import javafx.scene.transform.Scale;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        int he=0;
        int cha=0;
        int product=0;
        int trade=0;
        int yu=0;
        System.out.println("输入两个数:");
        Scanner input = new Scanner(System.in);
        int num1=input.nextInt();
        int num2=input.nextInt();
        he=num1+num2;
        cha=num1-num2;
        product=num1*num2;
        trade=num1/num2;
        yu=num1%num2;
        System.out.println("和"+he+" 差"+cha+" 积"+product+" 商"+trade+" 余"+yu);
    }
}
